// 注册post请求
import request from '@/utils/http'
export const registerAPI = ({ nickname, password }) => {
  return request({
    url: '/register',
    method: 'POST',
    data: {
      nickname,
      password
    }
  })
}